Brawl - King Dedede - Common Subroutine 0x14b8c

  1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. if (not(BoolIsTrue LongtermAccessBool(StaminaDead)))
    1. if (Unknown(72) value(6))
      1. UnknownEvent { namespace: 0x14, code: 0x6, unk1: 0x0, arguments: [Value(6), Bool(true)] }
    2. CreateInterrupt { interrupt_id: None, action: DownEat, requirement: (LightItemIsInGrabRange) }
    3. PreviousInterruptAddRequirement(CanPickupAnotherItem)
    4. PreviousInterruptAddRequirement(ItemOfTypeIsInGrabbingRange value(8192))
    5. PreviousInterruptAddRequirement(ButtonPress value(0))
    6. PreviousInterruptAddRequirement(OnGround)
    7. CreateInterrupt { interrupt_id: None, action: DownAttack, requirement: (ButtonPress value(0)) }
    8. PreviousInterruptAddRequirement(OnGround)
    9. CreateInterrupt { interrupt_id: None, action: DownAttack, requirement: (ButtonPress value(1)) }
    10. PreviousInterruptAddRequirement(OnGround)
    11. CreateInterrupt { interrupt_id: None, action: DownForward, requirement: ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc6d))) }
    12. PreviousInterruptAddRequirement(StickDirectionPressed)
    13. PreviousInterruptAddRequirement(OnGround)
    14. CreateInterrupt { interrupt_id: None, action: DownStand, requirement: ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc6c))) }
    15. PreviousInterruptAddRequirement(StickDirectionNotPressed)
    16. PreviousInterruptAddRequirement(OnGround)
    17. CreateInterrupt { interrupt_id: None, action: DownStand, requirement: ((RandomAccessFloat (0x9) LessThanOrEqual scalar(0))) }
    18. PreviousInterruptAddRequirement(OnGround)
    19. CallEveryFrame { thread_id: 9, script: 0x14a0c }